#include "monster.h"

Monster::Monster()
{

}

Monster::Monster(int id, int hp, int attack, int defend, int money, int exp, QString name)
{
    this->id = id;
    this->hp = hp;
    this->attack = attack;
    this->defend = defend;
    this->money = money;
    this->exp = exp;
    this->name = name;
}

Monster::~Monster()
{

}

int Monster::getId() const
{
    return id;
}

void Monster::setId(int value)
{
    id = value;
}

int Monster::getHp() const
{
    return hp;
}

void Monster::setHp(int value)
{
    hp = value;
}

int Monster::getAttack() const
{
    return attack;
}

void Monster::setAttack(int value)
{
    attack = value;
}

int Monster::getDefend() const
{
    return defend;
}

void Monster::setDefend(int value)
{
    defend = value;
}

int Monster::getMoney() const
{
    return money;
}

void Monster::setMoney(int value)
{
    money = value;
}

int Monster::getExp() const
{
    return exp;
}

void Monster::setExp(int value)
{
    exp = value;
}

QString Monster::getName() const
{
    return name;
}

void Monster::setName(const QString &value)
{
    name = value;
}
